package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.bean.ShoppingCart;

/**
 * @author Tang
 * @date 2023/2/25
 */
public interface ShoppingCartService extends IService<ShoppingCart> {
    /**
     * 添加购物车
     * @param shoppingCart
     */
    void addCart(ShoppingCart shoppingCart);
    
    /**
     * 购物车订单减一
     * @param shoppingCart
     */
    void sub(ShoppingCart shoppingCart);
}
